package com.scalar.forecast.forecastSetup;

/**
 * User: Sujan Kumar
 * Date: Feb 7, 2005
 * Time: 5:31:10 PM
 */
public class ForecastEntryField
{
    private int rowId = -1;
    private String entryName;
    private boolean entrySelected;
    private int entryOrder;

    public ForecastEntryField()
    {
        rowId           = -1;
        entryName       = null;
        entrySelected   = false;
    }
    public ForecastEntryField( String entryName, boolean entrySelected )
    {
        this.entryName      = entryName;
        this.entrySelected  = entrySelected;
    }

    public String getEntryName() {
        return entryName;
    }

    public void setEntryName(String entryName) {
        this.entryName = ( entryName == null ? null : entryName.trim() );
    }

    public boolean isEntrySelected() {
        return entrySelected;
    }

    public void setEntrySelected(boolean entrySelected) {
        this.entrySelected = entrySelected;
    }

    public int getRowId() {
        return rowId;
    }

    public void setRowId(int rowId) {
        this.rowId = rowId;
    }

    public int getEntryOrder() {
        return entryOrder;
    }

    public void setEntryOrder(int entryOrder) {
        this.entryOrder = entryOrder;
    }
}
